package com.ypf.demo_ssm.mapper;

import com.ypf.demo_ssm.dto.request.UserDTO;
import com.ypf.demo_ssm.dto.response.UserOrdersVO;
import com.ypf.demo_ssm.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 殷鹏飞
 * @since 2024-06-15
 */
public interface UserMapper extends BaseMapper<User> {

    List<UserOrdersVO> selectUserAndOrders(UserDTO userDTO);

}
